/* RTOS */
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
/* 库文件 */
#include "apm32f0xx_gpio.h"
#include "apm32f0xx_rcm.h"
#include "apm32f0xx_usart.h"
#include "apm32f0xx_misc.h"
#include "apm32f0xx_adc.h"
#include "apm32f0xx_tmr.h"
#include "system.hpp"
#include <stdio.h>
/* 接口文件  */
#include "light.hpp"
#include "fan.hpp"
#include "uv.hpp"
/* 任务文件 */
#include "SpindleMotorService.hpp"
#include "CompressorMotor/CompressorMotorService.hpp"
#include "DataMaintenance/DataMaintenanceService.hpp"
#include "ScreenComm/ScreenCommService.hpp"
/* 测试文件 */
#include "adc.hpp"
#include "iic_2.hpp"


extern "C"
int main(){

    // SpindleMotorService::run();
    // CompressorMotorService::run();

    ScreenCommService::run();
    DataMaintenanceService::run();
    vTaskStartScheduler();
    while ( true ){


    }

    return 0;
}




